package com.meilele.biz.hongdian;

import com.meilele.dao.hongdian.ThiCaseLableMapper;
import com.meilele.dao.hongdian.ThiLablesMapper;
import com.meilele.entity.hongdian.ThiCaseBigType;
import com.meilele.entity.hongdian.ThiCaseLable;
import com.meilele.entity.hongdian.ThiLables;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ThiCaseLableBiz {

    @Resource
    private ThiCaseLableMapper caseLableMapper;
    @Resource
    private ThiLablesMapper lablesMapper;

    public List<ThiCaseLable> findAllCaseLable(){
        return caseLableMapper.findAllCaseLable();
    }

    public List<ThiCaseLable> findSingleLable(){
        return caseLableMapper.findSingleLable();
    }

    public List<ThiCaseBigType> findAllStyle(){
        return caseLableMapper.findAllStyle();
    }

    public int insertSelective(ThiLables thiLables){
        return lablesMapper.insertSelective(thiLables);
    }
}
